package com.qqt.csr.im.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qqt.csr.im.entity.Room;
import com.qqt.csr.im.vo.req.QueryingRoomListReqVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RoomMapper extends BaseMapper<Room> {

    /**
     * 根据条件查询账号的所有房间列表
     * @param req
     * @return
     */
    List<Room> queryRoomListBy(@Param("req") QueryingRoomListReqVO req);
}
